package com.ruoyi.web.mapper;

import com.ruoyi.web.entity.BlackFileInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BlackFileInfoMapper {
    /**
     * 插入文件信息
     */
    int insert(BlackFileInfo fileInfo);
    
    /**
     * 根据案件ID查询文件信息
     */
    List<BlackFileInfo> selectByBaseId(String baseId);
    int deleteById(String id);

    /**
     * 根据案件ID删除文件信息
     */
    int deleteByBaseId(String baseId);
} 